home *** CD-ROM | disk | FTP | other *** search
- global gMasterData, gSection, gAssessmentData
-
- on goIntro
- go(label("intro"))
- goNarrator(gMasterData, "08")
- set gSection to #intro
- end
-
- on goQuestions
- go("questions")
- goNarrator(gMasterData, "09")
- set gSection to #questions
- if voidp(gAssessmentData) then
- set gAssessmentData to [#questionNum: 1, #artSprite: 4, #triangleSp: 5, #clickChoices: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
- end if
- if the questionNum of gAssessmentData <> 1 then
- set the questionNum of gAssessmentData to 1
- end if
- puppetSprite(the artSprite of gAssessmentData, 1)
- resetIndicator()
- setFingerCursor(#on, [21, 22])
- end
-
- on clearQuestions
- puppetSprite(the artSprite of gAssessmentData, 0)
- puppetSprite(the triangleSp of gAssessmentData, 0)
- setFingerCursor(#off, [21, 22])
- end
-
- on goresults
- global gSection, balloonSprite
- clearQuestions()
- go("results")
- evaluateAnswers()
- set gSection to #results
- goNarrator(gMasterData, "10")
- activate(gMasterData)
- end
-